#pragma once
#include <map>
#include "Worker.h"

class funtion {

public:
	funtion() {}

	void updateWorker();
	map<int, Worker*> readFile();
	void printWorker(Worker& w);
	void getAllInfo();
	void getCount();
	void flagWorker(int ID);
	void delWorker();
	Worker getInfoByID(int i);
	Worker getInfoByName(string name);
	void addWorker();
	void writeToFile();
};